package com.changpay.zywy.mvp.contract

import com.changpay.zywy.base.IModel
import com.changpay.zywy.base.IPresenter
import com.changpay.zywy.base.IView
import com.changpay.zywy.bean.*
import io.reactivex.Observable

interface IncomDetailContract {
    interface View : IView {
        fun showEarningsDetailList(data:List<EarningDetailInfo>)

    }

    interface Presenter : IPresenter<View> {
        fun getEarningsDetailList(map: MutableMap<String, String>)
    }

    interface Model : IModel {
        fun getEarningsDetailList(map: MutableMap<String, String>): Observable<HttpResult<List<EarningDetailInfo>>>
    }
}